<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>sock: sock::net::TcpConnection Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">sock
   &#160;<span id="projectnumber">v0.11</span>
   </div>
   <div id="projectbrief">C++ Network Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacesock.html">sock</a></li><li class="navelem"><a class="el" href="namespacesock_1_1net.html">net</a></li><li class="navelem"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html">TcpConnection</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classsock_1_1net_1_1_tcp_connection-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">sock::net::TcpConnection Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>网络连接  
 <a href="classsock_1_1net_1_1_tcp_connection.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="tcp__connection_8h_source.html">tcp_connection.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for sock::net::TcpConnection:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classsock_1_1net_1_1_tcp_connection.png" usemap="#sock::net::TcpConnection_map" alt=""/>
  <map id="sock::net::TcpConnection_map" name="sock::net::TcpConnection_map">
<area href="classsock_1_1net_1_1_net_event_handler.html" title="网络事件处理器 " alt="sock::net::NetEventHandler" shape="rect" coords="0,56,163,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ac6a1f1dc74ce847b7aab5f9c1c8d6574"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#ac6a1f1dc74ce847b7aab5f9c1c8d6574">State</a> { <a class="el" href="classsock_1_1net_1_1_tcp_connection.html#ac6a1f1dc74ce847b7aab5f9c1c8d6574a92fcb3956c72ee14fb17b6d187517d9a">CONNECT</a>, 
<a class="el" href="classsock_1_1net_1_1_tcp_connection.html#ac6a1f1dc74ce847b7aab5f9c1c8d6574a7deeba93cda3dfa27db748cafe5ca9aa">CLOSING</a>, 
<a class="el" href="classsock_1_1net_1_1_tcp_connection.html#ac6a1f1dc74ce847b7aab5f9c1c8d6574a456b48c073c8b92394f8e74a39646ec4">CLOSED</a>
 }<tr class="separator:ac6a1f1dc74ce847b7aab5f9c1c8d6574"><td class="memSeparator" colspan="2">&#160;</td></tr>
</td></tr>
<tr class="memitem:a9d9ea93c3a51141616167ae78c0238ec"><td class="memItemLeft" align="right" valign="top">typedef boost::function&lt; void(<a class="el" href="classsock_1_1net_1_1_tcp_connection.html">TcpConnection</a> &amp;)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a9d9ea93c3a51141616167ae78c0238ec">PassTcpConnectionRefFunc</a></td></tr>
<tr class="separator:a9d9ea93c3a51141616167ae78c0238ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a836ed49de731537f208e17d07868a9d8"><td class="memItemLeft" align="right" valign="top">typedef boost::function&lt; void(<a class="el" href="classsock_1_1net_1_1_tcp_connection.html">TcpConnection</a> &amp;, <a class="el" href="classsock_1_1net_1_1_tcp_connection_input_stream.html">TcpConnectionInputStream</a> &amp;)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a836ed49de731537f208e17d07868a9d8">TcpConnectionReadFunc</a></td></tr>
<tr class="separator:a836ed49de731537f208e17d07868a9d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8951d995ac681b06a8d8dfdadd219aa"><td class="memItemLeft" align="right" valign="top">typedef boost::function&lt; void(<a class="el" href="classsock_1_1net_1_1_tcp_connection.html">TcpConnection</a> &amp;, <a class="el" href="classsock_1_1net_1_1_tcp_connection_output_stream.html">TcpConnectionOutputStream</a> &amp;)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#ab8951d995ac681b06a8d8dfdadd219aa">TcpConnectionWriteFunc</a></td></tr>
<tr class="separator:ab8951d995ac681b06a8d8dfdadd219aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a43ee94855cd5bc5b46e5bb5b3fbb545c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a43ee94855cd5bc5b46e5bb5b3fbb545c">TcpConnection</a> (sock_t sock, size_t isSize=1024 *32, size_t osSize=1024 *32)</td></tr>
<tr class="memdesc:a43ee94855cd5bc5b46e5bb5b3fbb545c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tcp连接构造函数  <a href="#a43ee94855cd5bc5b46e5bb5b3fbb545c">More...</a><br /></td></tr>
<tr class="separator:a43ee94855cd5bc5b46e5bb5b3fbb545c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa40d248ffbd3fd3aaf82dcf754c1e204"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#aa40d248ffbd3fd3aaf82dcf754c1e204">TcpConnection</a> (sock_t sock, <a class="el" href="namespacesock_1_1net.html#a2165d5b91136adc8c72ad25bfdbd0968">ByteBuffer</a> ibuff, <a class="el" href="namespacesock_1_1net.html#a2165d5b91136adc8c72ad25bfdbd0968">ByteBuffer</a> obuff, size_t isSize, size_t osSize)</td></tr>
<tr class="memdesc:aa40d248ffbd3fd3aaf82dcf754c1e204"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tcp连接构造函数  <a href="#aa40d248ffbd3fd3aaf82dcf754c1e204">More...</a><br /></td></tr>
<tr class="separator:aa40d248ffbd3fd3aaf82dcf754c1e204"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a726cd8559fa3a133b47a15f10ebbe6dc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a726cd8559fa3a133b47a15f10ebbe6dc">~TcpConnection</a> (void)</td></tr>
<tr class="separator:a726cd8559fa3a133b47a15f10ebbe6dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61f65d30aed34c170e355ce5841dc1d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a61f65d30aed34c170e355ce5841dc1d3">shutdown</a> (void)</td></tr>
<tr class="memdesc:a61f65d30aed34c170e355ce5841dc1d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">关闭连接  <a href="#a61f65d30aed34c170e355ce5841dc1d3">More...</a><br /></td></tr>
<tr class="separator:a61f65d30aed34c170e355ce5841dc1d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a180476e4513ce0ccdc23316ce791faf2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a180476e4513ce0ccdc23316ce791faf2">getId</a> (void) const </td></tr>
<tr class="memdesc:a180476e4513ce0ccdc23316ce791faf2"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取ID  <a href="#a180476e4513ce0ccdc23316ce791faf2">More...</a><br /></td></tr>
<tr class="separator:a180476e4513ce0ccdc23316ce791faf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a895047bafd0cbed7850da3fd355c679c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsock_1_1net_1_1_socket.html">Socket</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a895047bafd0cbed7850da3fd355c679c">getSock</a> (void)</td></tr>
<tr class="memdesc:a895047bafd0cbed7850da3fd355c679c"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取套接字  <a href="#a895047bafd0cbed7850da3fd355c679c">More...</a><br /></td></tr>
<tr class="separator:a895047bafd0cbed7850da3fd355c679c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60311ccc61cbe63853b5c07027c807e3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsock_1_1net_1_1_tcp_connection_input_stream.html">TcpConnectionInputStream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a60311ccc61cbe63853b5c07027c807e3">getInputStream</a> (void)</td></tr>
<tr class="memdesc:a60311ccc61cbe63853b5c07027c807e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取输入流  <a href="#a60311ccc61cbe63853b5c07027c807e3">More...</a><br /></td></tr>
<tr class="separator:a60311ccc61cbe63853b5c07027c807e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8b5476c831b445845d6769e0adf0390"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsock_1_1net_1_1_tcp_connection_output_stream.html">TcpConnectionOutputStream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#ac8b5476c831b445845d6769e0adf0390">getOutputStream</a> (void)</td></tr>
<tr class="memdesc:ac8b5476c831b445845d6769e0adf0390"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取输出流  <a href="#ac8b5476c831b445845d6769e0adf0390">More...</a><br /></td></tr>
<tr class="separator:ac8b5476c831b445845d6769e0adf0390"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47110635b794afc5a26640984bf3bc97"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a47110635b794afc5a26640984bf3bc97">setReadFN</a> (<a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a836ed49de731537f208e17d07868a9d8">TcpConnectionReadFunc</a> fn)</td></tr>
<tr class="memdesc:a47110635b794afc5a26640984bf3bc97"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置读回调  <a href="#a47110635b794afc5a26640984bf3bc97">More...</a><br /></td></tr>
<tr class="separator:a47110635b794afc5a26640984bf3bc97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42f560457d86273fe85150a879fe4b50"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a42f560457d86273fe85150a879fe4b50">setWriteFN</a> (<a class="el" href="classsock_1_1net_1_1_tcp_connection.html#ab8951d995ac681b06a8d8dfdadd219aa">TcpConnectionWriteFunc</a> fn)</td></tr>
<tr class="memdesc:a42f560457d86273fe85150a879fe4b50"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置写回调  <a href="#a42f560457d86273fe85150a879fe4b50">More...</a><br /></td></tr>
<tr class="separator:a42f560457d86273fe85150a879fe4b50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1007848144d161705c5316ab51e17b36"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a1007848144d161705c5316ab51e17b36">setErrorFN</a> (<a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a9d9ea93c3a51141616167ae78c0238ec">PassTcpConnectionRefFunc</a> fn)</td></tr>
<tr class="memdesc:a1007848144d161705c5316ab51e17b36"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置错误回调  <a href="#a1007848144d161705c5316ab51e17b36">More...</a><br /></td></tr>
<tr class="separator:a1007848144d161705c5316ab51e17b36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7588b091cb1d02fd91c2fd0a81197393"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a7588b091cb1d02fd91c2fd0a81197393">setCloseFN</a> (<a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a9d9ea93c3a51141616167ae78c0238ec">PassTcpConnectionRefFunc</a> fn)</td></tr>
<tr class="memdesc:a7588b091cb1d02fd91c2fd0a81197393"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置关闭回调  <a href="#a7588b091cb1d02fd91c2fd0a81197393">More...</a><br /></td></tr>
<tr class="separator:a7588b091cb1d02fd91c2fd0a81197393"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a634053043ee4491da121ba3ba78a7a2f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a634053043ee4491da121ba3ba78a7a2f">setHeartbeatFN</a> (<a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a9d9ea93c3a51141616167ae78c0238ec">PassTcpConnectionRefFunc</a> fn)</td></tr>
<tr class="memdesc:a634053043ee4491da121ba3ba78a7a2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置心跳回调  <a href="#a634053043ee4491da121ba3ba78a7a2f">More...</a><br /></td></tr>
<tr class="separator:a634053043ee4491da121ba3ba78a7a2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7169d0396d8b3f9d3bc0bfa651c39f40"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a7169d0396d8b3f9d3bc0bfa651c39f40">handleInput</a> (void)</td></tr>
<tr class="memdesc:a7169d0396d8b3f9d3bc0bfa651c39f40"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理网络输入  <a href="#a7169d0396d8b3f9d3bc0bfa651c39f40">More...</a><br /></td></tr>
<tr class="separator:a7169d0396d8b3f9d3bc0bfa651c39f40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada4e4dc8bcdb148eef20a2b479697bbf"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#ada4e4dc8bcdb148eef20a2b479697bbf">handleOutput</a> (void)</td></tr>
<tr class="memdesc:ada4e4dc8bcdb148eef20a2b479697bbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理网络输出  <a href="#ada4e4dc8bcdb148eef20a2b479697bbf">More...</a><br /></td></tr>
<tr class="separator:ada4e4dc8bcdb148eef20a2b479697bbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab177cdd1021f1452a8b49c0238ab5186"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#ab177cdd1021f1452a8b49c0238ab5186">handleError</a> (void)</td></tr>
<tr class="memdesc:ab177cdd1021f1452a8b49c0238ab5186"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理网络错误  <a href="#ab177cdd1021f1452a8b49c0238ab5186">More...</a><br /></td></tr>
<tr class="separator:ab177cdd1021f1452a8b49c0238ab5186"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5d67c0a60a1f2c9816e550e4f110e21"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#ad5d67c0a60a1f2c9816e550e4f110e21">handleClose</a> (void)</td></tr>
<tr class="memdesc:ad5d67c0a60a1f2c9816e550e4f110e21"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理关闭  <a href="#ad5d67c0a60a1f2c9816e550e4f110e21">More...</a><br /></td></tr>
<tr class="separator:ad5d67c0a60a1f2c9816e550e4f110e21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4da2739b37a3ded075a8f44a8e6ef519"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a4da2739b37a3ded075a8f44a8e6ef519">handleHeartbeat</a> (void)</td></tr>
<tr class="memdesc:a4da2739b37a3ded075a8f44a8e6ef519"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理心跳  <a href="#a4da2739b37a3ded075a8f44a8e6ef519">More...</a><br /></td></tr>
<tr class="separator:a4da2739b37a3ded075a8f44a8e6ef519"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classsock_1_1net_1_1_net_event_handler"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classsock_1_1net_1_1_net_event_handler')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classsock_1_1net_1_1_net_event_handler.html">sock::net::NetEventHandler</a></td></tr>
<tr class="memitem:acd0317842b7f54784759c09f41bdffd3 inherit pub_methods_classsock_1_1net_1_1_net_event_handler"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_net_event_handler.html#acd0317842b7f54784759c09f41bdffd3">NetEventHandler</a> (void)</td></tr>
<tr class="separator:acd0317842b7f54784759c09f41bdffd3 inherit pub_methods_classsock_1_1net_1_1_net_event_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a502d2c94a9eb4c3ab1586fb5b22fbe12 inherit pub_methods_classsock_1_1net_1_1_net_event_handler"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_net_event_handler.html#a502d2c94a9eb4c3ab1586fb5b22fbe12">~NetEventHandler</a> (void)</td></tr>
<tr class="separator:a502d2c94a9eb4c3ab1586fb5b22fbe12 inherit pub_methods_classsock_1_1net_1_1_net_event_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a3ecf3132e8c4bf890c07853cfab7619c"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a3ecf3132e8c4bf890c07853cfab7619c">TcpServer</a></td></tr>
<tr class="separator:a3ecf3132e8c4bf890c07853cfab7619c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0736aba6eec2f2c2a13494228473b67c"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a0736aba6eec2f2c2a13494228473b67c">TcpWorker</a></td></tr>
<tr class="separator:a0736aba6eec2f2c2a13494228473b67c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>网络连接 </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a9d9ea93c3a51141616167ae78c0238ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::function&lt;void(<a class="el" href="classsock_1_1net_1_1_tcp_connection.html">TcpConnection</a>&amp;)&gt; <a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a9d9ea93c3a51141616167ae78c0238ec">sock::net::TcpConnection::PassTcpConnectionRefFunc</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a836ed49de731537f208e17d07868a9d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::function&lt;void(<a class="el" href="classsock_1_1net_1_1_tcp_connection.html">TcpConnection</a>&amp;, <a class="el" href="classsock_1_1net_1_1_tcp_connection_input_stream.html">TcpConnectionInputStream</a>&amp;)&gt; <a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a836ed49de731537f208e17d07868a9d8">sock::net::TcpConnection::TcpConnectionReadFunc</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab8951d995ac681b06a8d8dfdadd219aa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef boost::function&lt;void(<a class="el" href="classsock_1_1net_1_1_tcp_connection.html">TcpConnection</a>&amp;, <a class="el" href="classsock_1_1net_1_1_tcp_connection_output_stream.html">TcpConnectionOutputStream</a>&amp;)&gt; <a class="el" href="classsock_1_1net_1_1_tcp_connection.html#ab8951d995ac681b06a8d8dfdadd219aa">sock::net::TcpConnection::TcpConnectionWriteFunc</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="ac6a1f1dc74ce847b7aab5f9c1c8d6574"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classsock_1_1net_1_1_tcp_connection.html#ac6a1f1dc74ce847b7aab5f9c1c8d6574">sock::net::TcpConnection::State</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ac6a1f1dc74ce847b7aab5f9c1c8d6574a92fcb3956c72ee14fb17b6d187517d9a"></a>CONNECT&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac6a1f1dc74ce847b7aab5f9c1c8d6574a7deeba93cda3dfa27db748cafe5ca9aa"></a>CLOSING&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ac6a1f1dc74ce847b7aab5f9c1c8d6574a456b48c073c8b92394f8e74a39646ec4"></a>CLOSED&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a43ee94855cd5bc5b46e5bb5b3fbb545c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TcpConnection::TcpConnection </td>
          <td>(</td>
          <td class="paramtype">sock_t&#160;</td>
          <td class="paramname"><em>sock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>isSize</em> = <code>1024&#160;*&#160;32</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>osSize</em> = <code>1024&#160;*&#160;32</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Tcp连接构造函数 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>本地套接字 </td></tr>
    <tr><td class="paramname">isSize</td><td>输入流缓存大小 </td></tr>
    <tr><td class="paramname">osSize</td><td>输出流缓存大小 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa40d248ffbd3fd3aaf82dcf754c1e204"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TcpConnection::TcpConnection </td>
          <td>(</td>
          <td class="paramtype">sock_t&#160;</td>
          <td class="paramname"><em>sock</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacesock_1_1net.html#a2165d5b91136adc8c72ad25bfdbd0968">ByteBuffer</a>&#160;</td>
          <td class="paramname"><em>ibuff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacesock_1_1net.html#a2165d5b91136adc8c72ad25bfdbd0968">ByteBuffer</a>&#160;</td>
          <td class="paramname"><em>obuff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>isSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>osSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Tcp连接构造函数 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock</td><td>本地套接字 </td></tr>
    <tr><td class="paramname">ibuff</td><td>在外部申请的输入流缓存，其大小必须等于isSize </td></tr>
    <tr><td class="paramname">osSize</td><td>在外部申请的输出流缓存，其大小必须等于osSize </td></tr>
    <tr><td class="paramname">isSize</td><td>输入流缓存大小 </td></tr>
    <tr><td class="paramname">osSize</td><td>输出流缓存大小 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a726cd8559fa3a133b47a15f10ebbe6dc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TcpConnection::~TcpConnection </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a180476e4513ce0ccdc23316ce791faf2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int sock::net::TcpConnection::getId </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取ID </p>
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>

</div>
</div>
<a class="anchor" id="a60311ccc61cbe63853b5c07027c807e3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsock_1_1net_1_1_tcp_connection_input_stream.html">TcpConnectionInputStream</a>&amp; sock::net::TcpConnection::getInputStream </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取输入流 </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classsock_1_1net_1_1_tcp_connection_input_stream.html" title="Tcp连接输入流 ">TcpConnectionInputStream</a>&amp; </dd></dl>

</div>
</div>
<a class="anchor" id="ac8b5476c831b445845d6769e0adf0390"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsock_1_1net_1_1_tcp_connection_output_stream.html">TcpConnectionOutputStream</a>&amp; sock::net::TcpConnection::getOutputStream </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取输出流 </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classsock_1_1net_1_1_tcp_connection_output_stream.html" title="Tcp连接输出流 ">TcpConnectionOutputStream</a>&amp; </dd></dl>

</div>
</div>
<a class="anchor" id="a895047bafd0cbed7850da3fd355c679c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsock_1_1net_1_1_socket.html">Socket</a>* sock::net::TcpConnection::getSock </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取套接字 </p>
<dl class="section return"><dt>Returns</dt><dd>Socket* </dd></dl>

</div>
</div>
<a class="anchor" id="ad5d67c0a60a1f2c9816e550e4f110e21"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void TcpConnection::handleClose </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理关闭 </p>

<p>Implements <a class="el" href="classsock_1_1net_1_1_net_event_handler.html#a27cc7b4bb1bdbe49694651630e446b05">sock::net::NetEventHandler</a>.</p>

</div>
</div>
<a class="anchor" id="ab177cdd1021f1452a8b49c0238ab5186"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void TcpConnection::handleError </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理网络错误 </p>

<p>Implements <a class="el" href="classsock_1_1net_1_1_net_event_handler.html#aaae522780e3cbf9db5756be8589f9139">sock::net::NetEventHandler</a>.</p>

</div>
</div>
<a class="anchor" id="a4da2739b37a3ded075a8f44a8e6ef519"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void TcpConnection::handleHeartbeat </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理心跳 </p>

<p>Implements <a class="el" href="classsock_1_1net_1_1_net_event_handler.html#aa75f2bf4bf3bcd9a83d540aca5497619">sock::net::NetEventHandler</a>.</p>

</div>
</div>
<a class="anchor" id="a7169d0396d8b3f9d3bc0bfa651c39f40"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void TcpConnection::handleInput </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理网络输入 </p>

<p>Implements <a class="el" href="classsock_1_1net_1_1_net_event_handler.html#a6fe4d2cffe11a7e21012eb29ed2f393d">sock::net::NetEventHandler</a>.</p>

</div>
</div>
<a class="anchor" id="ada4e4dc8bcdb148eef20a2b479697bbf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void TcpConnection::handleOutput </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理网络输出 </p>

<p>Implements <a class="el" href="classsock_1_1net_1_1_net_event_handler.html#a2a7887f74cac4207c80225e12ce91a43">sock::net::NetEventHandler</a>.</p>

</div>
</div>
<a class="anchor" id="a7588b091cb1d02fd91c2fd0a81197393"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void sock::net::TcpConnection::setCloseFN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a9d9ea93c3a51141616167ae78c0238ec">PassTcpConnectionRefFunc</a>&#160;</td>
          <td class="paramname"><em>fn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置关闭回调 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fn</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1007848144d161705c5316ab51e17b36"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void sock::net::TcpConnection::setErrorFN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a9d9ea93c3a51141616167ae78c0238ec">PassTcpConnectionRefFunc</a>&#160;</td>
          <td class="paramname"><em>fn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置错误回调 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fn</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a634053043ee4491da121ba3ba78a7a2f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void sock::net::TcpConnection::setHeartbeatFN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a9d9ea93c3a51141616167ae78c0238ec">PassTcpConnectionRefFunc</a>&#160;</td>
          <td class="paramname"><em>fn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置心跳回调 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fn</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a47110635b794afc5a26640984bf3bc97"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void sock::net::TcpConnection::setReadFN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#a836ed49de731537f208e17d07868a9d8">TcpConnectionReadFunc</a>&#160;</td>
          <td class="paramname"><em>fn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置读回调 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fn</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a42f560457d86273fe85150a879fe4b50"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void sock::net::TcpConnection::setWriteFN </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsock_1_1net_1_1_tcp_connection.html#ab8951d995ac681b06a8d8dfdadd219aa">TcpConnectionWriteFunc</a>&#160;</td>
          <td class="paramname"><em>fn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置写回调 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fn</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a61f65d30aed34c170e355ce5841dc1d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TcpConnection::shutdown </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>关闭连接 </p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a3ecf3132e8c4bf890c07853cfab7619c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classsock_1_1net_1_1_tcp_server.html">TcpServer</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a0736aba6eec2f2c2a13494228473b67c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classsock_1_1net_1_1_tcp_worker.html">TcpWorker</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>E:/git/sock/sock/net/<a class="el" href="tcp__connection_8h_source.html">tcp_connection.h</a></li>
<li>E:/git/sock/src/net/<a class="el" href="tcp__connection_8cc.html">tcp_connection.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>
